/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package coms.dto;

import java.io.Serializable;

/**
 *
 * @author Atul
 */
public class Rating implements Serializable{
    String caption;
    String value;
    public Rating(){}
    
    public Rating(String caption,String value)
    {
        this.caption = caption;
        this.value = value;
    }
            
    public String getCaption() {
        return caption;
    }

    public void setCaption(String caption) {
        this.caption = caption;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return caption + "-" + value;
    }
    
}
